import requests

url = 'https://mp32.9ku.com/upload/128/2020/12/02/1012725.mp3'
resp = requests.get(url)
with open('D:/music.mp3','wb') as f:
    f.write(resp.content)

print('finished')